<!-- 顶部开始 -->
<div id="toolbar">
	<!-- ****************登录/注册************** -->
	<div class="tool_r">
		<if value="isset($_SESSION['uname'])" || value="isset($_SESSION['uid'])">
			<a href="{|U:'Member/index'}">{$_SESSION['uname']}</a><a href="{|U:'Index/out'}">退出</a>
		<else/>
			<a href="{|U:'Login/index'}">登录</a>
			<a href="{|U:'Register/index'}">免费注册</a><span>|</span>
		</if>	
		<a href="{|U:'OrdCen/index'}">我的订单</a>
		<a class="gouwu" href="{|U:'Shop/index'}">
			<span class="gouwudai"></span>购物袋
			<span class="gouwuqiu">
				<if value="$_SESSION['cart']">
				{$hd.session.cart.total_rows}
				<else/>0</if>
			</span>
		</a><span>|</span>
		<a href="">联系客服</a>
	</div>
	<!-- ****************登录/注册************** -->
</div>
<!-- 顶部结束 -->